<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="EditContent">
	<model>
		<instance>
			<tblContent>
				<nContentKey/>
				<nContentPrimaryId/>
				<nVersion/>
				<cContentForiegnRef/>
				<cContentName/>
				<cContentSchemaName>CookiePolicy</cContentSchemaName>
				<cContentXmlBrief>
          <Content>
            <cookieAnalytics>true</cookieAnalytics>
            <cookieDeclineButton>false</cookieDeclineButton>
            <cookieAcceptButton>true</cookieAcceptButton>
            <cookieResetButton>false</cookieResetButton>
            <cookieOverlayEnabled>false</cookieOverlayEnabled>
            <cookiePolicyLink></cookiePolicyLink>
            <cookieMessage></cookieMessage>
            <cookieAnalyticsMessage>We use cookies, just to track visits to our website, we store no personal details.</cookieAnalyticsMessage>
            <cookieWhatAreTheyLink></cookieWhatAreTheyLink>
            <cookieErrorMessage></cookieErrorMessage>
            <cookieNotificationLocationBottom>false</cookieNotificationLocationBottom>
            <cookieDisable></cookieDisable>
            <cookieAcceptButtonText>Accept Cookies</cookieAcceptButtonText>
            <cookieDeclineButtonText>Decline Cookies</cookieDeclineButtonText>
            <cookieResetButtonText>Reset Cookies</cookieResetButtonText>
            <cookieWhatAreTheyText>What are cookies?</cookieWhatAreTheyText>
            <cookiePolicyPage></cookiePolicyPage>
            <cookiePolicyPageMessage></cookiePolicyPageMessage>
            <cookieDiscreetLink>false</cookieDiscreetLink>
            <cookieDiscreetLinkText></cookieDiscreetLinkText>
            <cookieDiscreetPosition>topleft</cookieDiscreetPosition>
            <cookieDomain></cookieDomain>
          </Content>
				</cContentXmlBrief>
				<cContentXmlDetail/>
				<nAuditId/>
				<nAuditKey/>
				<dPublishDate/>
				<dExpireDate/>
				<dInsertDate/>
				<nInsertDirId/>
				<dUpdateDate/>
				<nUpdateDirId/>
				<nStatus>1</nStatus>
				<cDescription/>
        <bCascade>true</bCascade>
			</tblContent>
		</instance>
		<submission id="EditContent" action="" method="post" event="return form_check(this)"/>
		<bind id="cContentName" nodeset="tblContent/cContentName" required="true()" type="string"/>
    <!--CookieBinds-->
    <bind nodeset="tblContent/cContentXmlBrief/Content">
    <bind id="cookieAnalytics" nodeset="cookieAnalytics" required="false()" type="string"/>
    <bind id="cookieDeclineButton" nodeset="cookieDeclineButton" required="false()" type="string"/>
    <bind id="cookieAcceptButton" nodeset="cookieAcceptButton" required="false()" type="string"/>
    <bind id="cookieResetButton" nodeset="cookieResetButton" required="false()" type="string"/>
    <bind id="cookieOverlayEnabled" nodeset="cookieOverlayEnabled" required="false()" type="string"/>
    <bind id="cookiePolicyLink" nodeset="cookiePolicyLink" required="false()" type="string"/>
    <bind id="cookieMessage" nodeset="cookieMessage" required="false()" type="string"/>
    <bind id="cookieAnalyticsMessage" nodeset="cookieAnalyticsMessage" required="false()" type="string"/>
    <bind id="cookieWhatAreTheyLink" nodeset="cookieWhatAreTheyLink" required="false()" type="string"/>
    <bind id="cookieNotificationLocationBottom" nodeset="cookieNotificationLocationBottom" required="false()" type="string"/>
    <bind id="cookieDisable" nodeset="cookieDisable" required="false()" type="string"/>
    <bind id="cookieAcceptButtonText" nodeset="cookieAcceptButtonText" required="false()" type="string"/>
    <bind id="cookieDeclineButtonText" nodeset="cookieDeclineButtonText" required="false()" type="string"/>
    <bind id="cookieResetButtonText" nodeset="cookieResetButtonText" required="false()" type="string"/>
    <bind id="cookieWhatAreTheyText" nodeset="cookieWhatAreTheyText" required="false()" type="string"/>
    <bind id="cookiePolicyPage" nodeset="cookiePolicyPage" required="false()" type="string"/>
    <bind id="cookiePolicyPageMessage" nodeset="cookiePolicyPageMessage" required="false()" type="string"/>
    <bind id="cookieDiscreetLink" nodeset="cookieDiscreetLink" required="false()" type="string"/>
    <bind id="cookieDiscreetLinkText" nodeset="cookieDiscreetLinkText" required="false()" type="string"/>
    <bind id="cookieDiscreetPosition" nodeset="cookieDiscreetPosition" required="false()" type="string"/>    
    <bind id="cookieDomain" nodeset="cookieDomain" required="false()" type="string"/>
    </bind>
    <!--CookieBindsEnd-->
		<bind id="dPublishDate" nodeset="tblContent/dPublishDate" required="false()" type="string"/>
		<bind id="dExpireDate" nodeset="tblContent/dExpireDate" required="false()" type="string"/>
		<bind id="nStatus" nodeset="tblContent/nStatus" required="true()" type="string"/>
		<bind id="cDescription" nodeset="tblContent/cDescription" required="false()" type="string"/>
		<bind id="bCascade" nodeset="tblContent/bCascade" required="false()" type="string"/>
		<!--bind id="cContentRecRead" nodeset="tblContent/cContentXmlDetail/Content/group/div[@class='recRead']" required="false()" type="string"/-->
	</model>
	<group ref="EditContent" class="2col">
		<label>Edit Cookie Policy</label>
		<group>
      <group>
			  <input bind="nContentKey" class="hidden">
				  <label>ContentId</label>
			  </input>
			  <label>Settings</label>
			  <input bind="cContentName" class="required short">
				  <label>Text Location</label>
			  </input>
			  <input bind="dPublishDate" class="calendar short">
				  <label>Publish Date</label>
			  </input>
			  <input bind="dExpireDate" class="calendar short">
				  <label>Expire Date</label>
			  </input>
			  <select1 bind="nStatus" appearance="full" class="required vshort">
				  <label>Status</label>
				  <item>
					  <label>Live</label>
					  <value>1</value>
				  </item>
				  <item>
					  <label>Hidden</label>
					  <value>0</value>
				  </item>
			  </select1>
			  <select bind="bCascade" appearance="full" class="">
				  <label>Cascade to Child Pages</label>
				  <item>
					  <label></label>
					  <value>true</value>
				  </item>
			  </select>
			  <input bind="cDescription" class="short">
				  <label>Change Notes</label>
			  </input>
      </group>
		</group>
		<group>
      <group>
        <label>Enter Policy Settings</label>
        <!--textarea bind="cContentBody" rows="10" cols="100">
			  </textarea-->
        <select1 bind="cookieAnalytics" appearance="full" class="">
          <label>Analytics Only</label>
          <item>
            <label>true</label>
            <value>true</value>
          </item>
          <item>
            <label>false</label>
            <value>false</value>
          </item>
          <hint>if you are just using a simple analytics package you can set this to true, it displays a simple default message with no privacy policy link - this is set to true by default.</hint>
        </select1>
        <select1 bind="cookieDeclineButton" appearance="full" class="">
          <label>Show Decline Button</label>
          <item>
            <label>Yes</label>
            <value>true</value>
          </item>
          <item>
            <label>No</label>
            <value>false</value>
          </item>
          <hint>if you’d like a decline button to (ironically) write a cookie into the browser then set this to Yes.</hint>
        </select1>
        <select1 bind="cookieAcceptButton" appearance="full" class="">
          <label>Hide Accept Button</label>
          <item>
            <label>Yes</label>
            <value>true</value>
          </item>
          <item>
            <label>No</label>
            <value>false</value>
          </item>
          <hint>set this to 'Yes' to hide the accept button, its set to 'No' by default.</hint>
        </select1>
        <select1 bind="cookieResetButton" appearance="full" class="">
          <label>Reset Button</label>
          <item>
            <label>Yes</label>
            <value>true</value>
          </item>
          <item>
            <label>No</label>
            <value>false</value>
          </item>
          <hint>if you’d like a reset button to delete the accept or decline cookies then set this to 'Yes'.</hint>
        </select1>
        <select1 bind="cookieOverlayEnabled" appearance="full" class="">
          <label>Overlay Enabled</label>
          <item>
            <label>Yes</label>
            <value>true</value>
          </item>
          <item>
            <label>No</label>
            <value>false</value>
          </item>
          <hint>don't want a discreet toolbar? this makes the whole message into a 100% height</hint>
        </select1>
        <input bind="cookiePolicyLink " class="short">
          <label>Policy Link</label>
          <hint>if applicable, enter the link to your privacy policy in here - this is as soon as cookieAnalytics is set to false.</hint>
        </input>
        <input bind="cookieMessage" class="long">
          <label>Message</label>
          <hint>edit the message you want to appear in the cookie bar, remember to keep the {{cookiePolicyLink}} variable in tact so it inserts your privacy policy link.</hint>
        </input>
        <input bind="cookieAnalyticsMessage" class="long">
          <label>Analytics Message</label>
          <hint>edit the message you want to appear, this is the default message.</hint>
        </input>
        <input bind="cookieErrorMessage" class="short">
          <label>Error Message</label>
          <hint>dit the message you’d like to appear in place of the functionality</hint>
        </input>
        <select1 bind="cookieNotificationLocationBottom" appearance="full" class="">
          <label>Notification Location Bottom</label>
          <item>
            <label>Yes</label>
            <value>true</value>
          </item>
          <item>
            <label>No</label>
            <value>false</value>
          </item>
          <hint>this is No by default, change it to Yes and the cookie notification bar will show at the bottom of the page instead, please note this will remain at the top for mobile and iOS devices and Internet Explorer 6.</hint>
        </select1>
        <!--<input bind="cookieDisable" class="long">
          <label>Disable</label>
          <hint>list elements comma separated in here that you want to disable, this will only work if cookieCutter is set to true.</hint>
        </input>-->
        <input bind="cookieAcceptButtonText" class="short">
          <label>Accept Button Text</label>
          <hint>you can change the text of the green accept button.</hint>
        </input>
        <input bind="cookieDeclineButtonText" class="short">
          <label>Decline Button Text</label>
          <hint>you can change the text of the red decline button.</hint>
        </input>
        <input bind="cookieResetButtonText" class="short">
          <label>Reset Button Text</label>
          <hint>you can change the text of the orange reset button.</hint>
        </input>
        <input bind="cookieWhatAreTheyText" class="short">
          <label>What Are Link Text</label>
          <hint>you can change the text of the "What are Cookies" link shown on Google Analytics message.</hint>
        </input>
        <input bind="cookieWhatAreTheyLink" class="short">
          <label>What Are They Link</label>
          <hint>edit the link for the 'What are Cookies' link.</hint>
        </input>
        <input bind="cookiePolicyPage" class="short">
          <label>cookiePolicyPage</label>
          <hint>set this to true to display the message you want to appear on your privacy or cookie policy page.</hint>
        </input>
        <input bind="cookiePolicyPageMessage" class="short">
          <label>Policy Page Message</label>
          <hint>edit the message you want to appear on your policy page.</hint>
        </input>
        <select1 bind="cookieDiscreetLink" appearance="full" class="">
          <label>Discreet Link</label>
          <item>
            <label>Yes</label>
            <value>true</value>
          </item>
          <item>
            <label>No</label>
            <value>false</value>
          </item>
          <hint>No by default, set to Yes to enable</hint>
        </select1>
        <input bind="cookieDiscreetLinkText" class="short">
          <label>Discreet Link Text</label>
          <hint>edit the text you want to appear on the discreet option.</hint>
        </input>
        <select1 bind="cookieDiscreetPosition" appearance="full" class="">
          <label>Discreet Position</label>
          <item>
            <label>Top Left</label>
            <value>topleft</value>
          </item>
          <item>
            <label>Top Right</label>
            <value>topright</value>
          </item>
          <item>
            <label>Bottom Left</label>
            <value>bottomleft</value>
          </item>
          <item>
            <label>Bottom Right</label>
            <value>bottomright</value>
          </item>
        </select1>

        <input bind="cookieDomain " class="short">
          <label>cookieDomain</label>
          <hint>empty by default, add your domain name in here without www. or https:// or http:// to remove Google Analytics cookies on decline.</hint>
        </input>
      </group>
    
			<submit submission="" ref="ewSubmit" class="principle">
				<label>Save Cookie Policy</label>
			</submit>
   </group>
		
	</group>
</Content>
